package com.example.cloud.lijianconfigserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableEurekaClient
@EnableConfigServer
@SpringBootApplication
public class LijianConfigServerApplication {

//    @Value("${foo}")
    private String name;
//
//    @RequestMapping("/")
//    public String showName() {
//        return "config . name is " + name;
//    }

    public static void main(String[] args) {
        SpringApplication.run(LijianConfigServerApplication.class, args);
    }
}
